#!/usr/bin/env python3
import rospy
from std_msgs.msg import String

def callback(msg):
    rospy.loginfo(f"Received from /fastapi_response: {msg.data}")

rospy.init_node("subscriber_node")
rospy.Subscriber("/fastapi_response", String, callback)
rospy.spin()
